package domain;

import java.util.Set;
import java.util.TreeSet;

import org.apache.struts.action.ActionForm;

public class Board extends ActionForm{
/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
 
private int id;
private String name;
private  Set<Question> questions=new TreeSet<Question>();
 
 
public int getId() {
	return id;
}
public void setId(int id) {
	this.id = id;
}
public String getName() {
	return name;
}
public void setName(String name) {
	this.name = name;
}
public Set<Question> getQuestions() {
	return questions;
}
public void setQuestions(Set<Question> questions) {
	this.questions = questions;
}
public Board() {
	super();
	// TODO Auto-generated constructor stub
}
public Board(String name) {
	super();

	this.name = name;
}
 
}
